package com.itxiuyixiu.entity.mapper;

import com.itxiuyixiu.entity.model.Admin;
import com.itxiuyixiu.entity.model.Teacher;

/**
 * @author 黄磊
 * @date 2020/5/2
 */
public interface TeacherWriterMapper {
    /**
     * 保存Teacher（主键自增）
     *
     * @param teacher 管理员-老师信息
     */
    void saveTeacher(Teacher teacher);

    /**
     * 根据teacherId修改
     *
     * @param teacher 管理员-老师信息
     */
    void modifyTeacherById(Teacher teacher);
}
